package cn.com.qiter.eduorder.service.impl;

import cn.com.qiter.eduorder.entity.WorkVideo;
import cn.com.qiter.eduorder.mapper.WorkVideoMapper;
import cn.com.qiter.eduorder.service.WorkVideoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 交通作业视频业务表 服务实现类
 * </p>
 *
 * @author testjava
 * @since 2021-04-19
 */
@Service
public class WorkVideoServiceImpl extends ServiceImpl<WorkVideoMapper, WorkVideo> implements WorkVideoService {
    @Override
    public Integer countDay(String day) {
        return baseMapper.countVideoDay(day);
    }




    @Override
    public Integer countDayByProjectId(String day, String projectId) {
        return baseMapper.countDayByProjectId(day,projectId);
    }

    @Override
    public Integer countDayByProjectIdAndMemberId(String day, String projectId, String memberId) {
        return baseMapper.countDayByProjectIdAndMemberId(day,projectId,memberId);
    }

}
